package com.dao;

import com.dto.in.AddTeacherDto;
import com.entity.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2018/10/16.
 */
public interface TeacherDao {


    List<Teacher> choseTeacher(@Param("count") Integer count, @Param("cityId") Integer cityId, @Param("subjectId") Integer subjectId, @Param("areaId") Integer areaId);

    int addTeacher(@Param("dto") AddTeacherDto addTeacherDto);

    String findSubjectName(@Param("id") String str);

    Teacher selectTeacher(@Param("userid") Integer userId);

    String findResumeStatus(@Param("userId") Integer userId);

    int updateResumeStatusYES(@Param("userId") Integer userId);

    int findTeacherValue(@Param("userId")Integer userId);

    int updateResumeStatusNO(@Param("userId") Integer userId);
}
